package com.xqboss.apps.vo.consumer;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xqboss.apps.enums.consumer.ConsumerGiftTypeEnum;
import com.xqboss.apps.enums.market.MarketTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 队伍转增（藏品/宝盒/装备）记录(ConsumerTeamGiveRecord)表实体类
 *
 * @author makejava
 * @since 2023-12-15 14:27:08
 */
@Data
@ApiModel("礼物记录视图")
public class ConsumerGiftRecordVo {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("赠品名称")
    private String name;

    @ApiModelProperty("赠品类型")
    private MarketTypeEnum type;

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("转赠用户id")
    private Long giveUserId;

    @ApiModelProperty("接收用户id")
    private Long receiveUserId;

    @ApiModelProperty("赠送时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date giveTime;

    @ApiModelProperty("创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("赠送量")
    private Integer giveNum;

    @ApiModelProperty("图片")
    private String mainImg;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("转赠备注")
    private String giveRemark;

    @ApiModelProperty("礼物方式")
    private ConsumerGiftTypeEnum giftType;

    @ApiModelProperty("赠送类型 0队伍送礼(默认) 1藏品转赠")
    private Integer giveType;

    @ApiModelProperty("是否完成")
    private int isComplete;

    @ApiModelProperty("空投id")
    private Long airdropId;

    @ApiModelProperty("目标名称")
    private String targetName;

    @ApiModelProperty("目标次数")
    private Long targetNum;
}

